﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LinkCard.AdminCP
{
    public partial class doajaxstuff : System.Web.UI.Page
    {
        string[] usernames = { "hungnguyen", "administrator", "user1","user2",
                     "guest1", "guest2"};
        protected void Page_Load(object sender, EventArgs e)
        {
            string newUsername = Request.QueryString["q"];

            if (usernames.Contains(newUsername))
            {
                literal1.Text = "User name exists";
            }
            else
            {
                
            }
        }
    }
}